package proxy

import (
	"emsctrl/public"
	"fmt"
)

type Sche_iec104_auto struct {
	CuPolicy      *public.CurrentPolicy
	RunMode       public.RunMode
	iec104Connect int
}

func (s *Sche_iec104_auto) Proxy_para_set(policy *public.CurrentPolicy, mode public.RunMode) {
	//TODO implement me
	fmt.Println("implement me")
	s.CuPolicy = policy
	s.RunMode = mode
	s.iec104Connect = 0
}

func (s *Sche_iec104_auto) Proxy_Run() {
	//TODO implement me
	fmt.Println("Sche_iec104_auto Proxy run me")
	if s.iec104Connect == 1 {
		fmt.Println("iec104")
	} else {
		s.RunMode.Implement()
	}
}
